package cn.edu.buu.news.mapper;

import cn.edu.buu.news.entity.User;
import org.apache.ibatis.annotations.Param;

public interface AdminMapper {

//新增管理员
    void insert(User admin);
    User selectAdmin(@Param("userName") String userName, @Param("password") String password);
}
